package Day006_综合案例;

public class Student extends Person {

    public Student() {
    }

    public Student(int ID, String name, String esx, String birthday, int age) {
        super(ID, name, esx, birthday, age);
    }

    //继承Person类 重写抽象方法
    @Override
    public String getType() {
        return "学生";
    }

    @Override
    public String getWork() {
        return "学习java";
    }
}
